<html>
{{if .HadLogin}}
  Hello,{{.AccountName}}<br>
{{else}}
<a href="login">登录</a><br>
{{end}}
<a href="postProblem">上传题目</a><br>
<br>

{{range $problemtitle,$problemcontent:=.Problems}}
<a href="/problems?problem={{$problemtitle}}">{{$problemtitle}}</a><br>
{{end}}

</html>